<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>卡券商城</title>
    <link rel="stylesheet" href="__STATIC_URL__/static/mobile/css/weui.css"/>
    <!--<link rel="stylesheet" href="__STATIC_URL__/static/mobile/mycord/css/cord.css"/>-->

    <style>
        .limit-comm-item {
            padding: 15px 15px 0 15px;
            position: relative;
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            -webkit-box-align: center;
            -webkit-align-items: center;
            align-items: center;
        }
        .limit-comm-item-hd {
            margin-right: .8em;
            width: 111px;
            height: 111px;
            line-height: 111px;
            text-align: center;
            background:#f8f8f8;
            display: flex;
            align-items: center;
        }

        .limit-comm-item-hd img {
            width: 100%;
            max-height: 100%;
            vertical-align: top;
            align-items: center;
        }

        .limit-comm-bd {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
            min-width: 0;
            position: relative;
        }

        .limit-comm-bd:after {
            content: '';
            position: absolute;
            z-index: 2;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            border-bottom: 1px solid #d6d6d6;
            -webkit-transform: scaleY(0.5);
            transform: scaleY(0.5);
            -webkit-transform-origin: 0 100%;
            transform-origin: 0 100%;
        }

        .limit-comm-bd h2 {
            font-size: 14px;
            font-weight: normal;
            color: #222;
            line-height: 1.2;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }
        .limit-comm-bd h4 {
            font-size: 12px;
            font-weight: normal;
            color: #616060;
            line-height: 1.5;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }
        .aui-limit-speed-one {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
            width: 100%;
            background: #f2aba9;
            border-radius: 10px;
            height: 10px;
            position: relative;
            text-align: center;
            color: #fff;
            font-size: 14px;
            font-weight: bold;
        }

        .aui-limit-price {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
            width: 100%;
        }

        .aui-limit-speed-text {
            color: #e1362d;
            font-size: 12px;
            padding-left: 5px;
            width: 70px;
            text-align: right;
        }

        .aui-limit-speed-go {
            width: 100%;
            background-image: -webkit-gradient(linear,left top,right top,from(#fe6604),to(#ee0c75));
            background-image: -webkit-linear-gradient(left,#fe6604,#ee0c75);
            background-image: -moz-linear-gradient(left,#fe6604,#ee0c75);
            background-image: linear-gradient(to right,#fe6604,#ee0c75);
            background-color: #ee0c75;
            border-radius: 10px;
            height: 10px;
            position: absolute;
            left: 0;
            top: 0;
        }

        .aui-limit-rob {
            position: relative;
            color: #fff;
            background: #e02e24;
            border-radius: 4px;
            font-size: 14px;
            padding: 4px 20px 4px 10px;
        }

        .aui-limit-rob:after {
            content: " ";
            display: inline-block;
            height: 7px;
            width: 7px;
            border-width: 2px 2px 0 0;
            border-color: #ffffff;
            border-style: solid;
            -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
            transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
            position: relative;
            top: -2px;
            position: absolute;
            top: 50%;
            margin-top: -4px;
            right: 9px;
            border-radius: 1px;
        }

        .aui-limit-rmb {
            color: #e02e24;
            font-size: 19px;
        }

        .aui-limit-rmb span em {
            font-style: normal;
            font-size: 14px;
        }

        .aui-original {
            color: #9c9c9c;
            font-size: 13px;
            text-decoration: line-through;
        }

        .aui-limit-rmb .aui-original em {
            font-size: 13px;
        }

        .aui-limit-blue .aui-limit-rob {
            background: #52b948;
        }

        .aui-limit-remind {
            font-size: 14px;
            color: #848689;
            padding-bottom: 10px;
        }
        .aui-limit-speed {
            position: relative;
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            -webkit-box-align: center;
            -webkit-align-items: center;
            align-items: center;
            padding: 10px 0;
        }

    </style>
</head>
<body>

<div class="container" id="container">

    <div class="body">

        <div class="content">
            <div class="selected">
                {volist name="list" id="vo"}
                <a href="{:url('cardshop/paycardsinfo',array('fid'=>$vo['id'],'card_id'=>$card['card_id']))}" class="limit-comm-item" data-url="{:url('cardjc/cardjcinfo')}" data-id="">
                    <div class="limit-comm-item-hd">
                        <img src="{$vo['img']}" mode='aspectFill' alt="" class='shopLogo'>
                    </div>
                    <div class='limit-comm-bd'>
                        <h2 class="">
                            {$vo['title']} {$vo['num']}-{$vo['get_num']}
                        </h2>
                        <h4 class="">
                            {:getpaygive($vo['cardlist'])}
                        </h4>
                        <div class="aui-limit-speed">
                            <div class="aui-limit-speed-one">
                                <div class="aui-limit-speed-go" style="width:{$vo['get_num']/$vo['num']*100}%"></div>
                            </div>
                            <div class="aui-limit-speed-text">已抢{$vo['get_num']}件</div>
                        </div>
                    <div class="aui-limit-speed">
                        <div class="aui-limit-price">
                            <div class="aui-limit-rmb">
                               <span><em>￥</em>{$vo['price']}</span>
                                <span class="aui-original"><em>￥</em>{$vo['price']}</span>
                            </div>
                        </div>
                        <div class="aui-limit-rob paycard"  >马上抢购</div>
                    </div>
                    </div>

            </a>
            {/volist}


        </div>


        <div class="selected2" style="display:none">
            <div class="zanwu">
                <img src="__STATIC_URL__/static/mobile/mycord/img/wu.png" class="wu"/>
                <div>暂无优惠券，赶快来领取哦~~</div>
            </div>
        </div>
    </div>

</div>
<!--<div class='cardWrap' id="Refresh">-->
    <!--<img src="__STATIC_URL__/static/mobile/mycord/img/shuaxin.png" class="Refresh"/>-->
<!--</div>-->
</div>
</body>
<script src="__STATIC_URL__/static/jquery/3.2.1/jquery.min.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.0.0/weui.min.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>

    $("#Refresh").click(function () {
        window.location.reload();
    })
</script>
<script type="text/javascript">
    $(function () {

        $(".clickself").click(function () {

        })
    });
</script>
</html>
